package com.start_eternity.oasissafewalk.service;

import com.start_eternity.oasissafewalk.pojo.PageBean;
import com.start_eternity.oasissafewalk.pojo.ParentStudent;
import com.start_eternity.oasissafewalk.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface StudentService {



    /*id查询*/
    List<ParentStudent> selectById(Integer id);

    /*新增成员*/
    int save(Student student);

    /*修改信息*/
    int update(Student student);
    /*
     * 删除
     * */
    int delete(List<Integer> ids);

    //分页查询
    PageBean page(Integer page, Integer pageSize);

}
